/*
 * UART.h
 *
 *      Author: Christian
 *       Letztes Update: 11.01.14 Christian | fähler rausmachen
 *
 */

#ifndef UART_H_
#define UART_H_


#include <avr/io.h>
#include <avr/interrupt.h>


#define SEND_BUFFER_SIZE		64

#define RECIEVE_BUFFER_SIZE		64

extern char send_buffer[SEND_BUFFER_SIZE];
extern volatile char recieve_buffer[RECIEVE_BUFFER_SIZE];
extern volatile uint8_t recieved_number;


void UARTInit();

void send_UART(uint8_t bytes);

void UART_send( uint8_t data );


#endif /* UART_H_ */
